{php}
$_link = \Ebcms::db() -> select('link','*',[
    'ORDER' => [
        'weight' => 'ASC',
        'id' => 'ASC',
    ]
]);
{/php}
<style>
	.link{
		margin: 10px 0;
	}
	.link a{
		display: inline-block;
		color: #999;
		margin-right: 10px;
	}
</style>
<div class="frame">
	<div class="link">
		{foreach $_link as $v}
		<a href="{$v.url}" target="_blank">{$v.title}</a>
		{/foreach}
	</div>
</div>